import { Component, OnInit } from '@angular/core';

@Component({
  selector: 'app-user-search',
  templateUrl: './user-search.component.html',
  styleUrls: ['./user-search.component.css']
})
export class UserSearchComponent implements OnInit {

  constructor() { }

  ngOnInit(): void {
  }


  // for permission
  // optionList: any[] = [];
  // selectedUser?: any[];
  // isLoading = false;

  // onSearch(value: string): void {
  //   this.isLoading = true;
  //   this.sysroleService
  //     .all({ page: 0, size: 100 }, value === '' ? undefined : { name: value })
  //     .subscribe((res) => {
  //       this.optionList = res.content!;
  //       this.isLoading = false;
  //     });
  // }
}
